package com.hjm.job.domain.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.hjm.common.core.domain.BaseEntity;
import lombok.Data;



@Data
@TableName("tb_message_text")
public class MessageText extends BaseEntity {
    
	@TableId(value = "TEXT_ID", type = IdType.ASSIGN_ID)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long textId;

	private String messageTitle;  //消息标题

	private String messageContent;  //消息内容

	private Long userId;    //消息发送者id

}